<html>
<head lang="zh">
    <meta charset="UTF-8">
    <!--#include virtual="/public/inc/head.html"-->
    <title>明源云客</title>
    <!--#include virtual="/public/inc/seajs.html" -->
</head>
<style>
    body {
        font-size: 12px;
        color: #333;
        background-color: #fff;
        font-family: "Microsoft YaHei", Arial, sans-serif;
        text-align: left;
    }

    .container {
        width: 100%;
    }

    .fileInfo img {
        width: 120px;
        height: 120px;
        margin-right: 15px;
        margin-bottom: 40px;
        float: left;
    }
    .fileInfo span{font-size: 14px;}

    .redTip {
        background: #ffb33c;
        height: 100px;
        line-height: 100px;
        padding: 0 20px;
        width: 80%;
        font-size: 14px;
        color: #fff;
        position: relative;
    }

    .redTip img {
        position: relative;
        top: 15px;
    }

    .mb15 {
        margin-bottom: 15px;
    }

    .btn {
        box-sizing: border-box;
        display: inline-block;
        min-width: 70px;
        height: 30px;
        padding: 6px 100px;
        line-height: 18px;
        border-radius: 2px;
        background-color: #c6c6c6;
        color: #fff;
        text-align: center;
        font-size: 14px;
        border: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .tou {
        position: relative;
        top: 10px;
        clear: left;
    }

    .titleBar {
        background: #ececec;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
        width:100%;
        margin-bottom: 40px;
    }
    .mainwrap{
        max-width: 1280px;
        min-width: 1280px;
        margin: 0 auto;
    }
</style>
<body>
<!--#include virtual="/public/inc/top.html" -->
<div class="container" ng-cloak data-ng-controller="Exportdata">
    <div class="titleBar">
        <div class="mainwrap">大数据量内容导出</div>
    </div>
    <div class="mainwrap">
        <div class="fileInfo">
            <img src="http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/Excel.png">
            <span>{{filename}}</span>

            <p class="mt25 mb15">{{tipText}}</p>
            <a ng-href="{{downloadUrl}}" class="btn" data-ng-disabled="!canDownload">下载报表</a>
        </div>
        <div class="tou"><img src="http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/tou.png"></div>
        <div class="redTip">
            <img src="http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/tip.png">由于导出的数据量较大，这次导出需等待10分钟左右，以待文件生成。请勿关闭当前页面。下载按钮亮起即可点击下载。
        </div>
    </div>
</div>

<script type="text/javascript">
    seajs.use(["service/customer_distribution/export_data"]);
</script>
</body>
</html>